package com.wiwf.model.mapper.admin.bean;

import com.gitee.fastmybatis.annotation.Table;

import java.util.Date;

@Table(name = "sys_api_log")
public class SysApiLogEntity {

    String apiName;
    String apiPath;
    String apiMethod;
    Long costTime;
    Date createDate;
    String userAgent;
    String userIp;
    String userToken;
    String userName;

    String reqBody;
    String resBody;

    public SysApiLogEntity(){
        super();
    }

    public SysApiLogEntity(String apiName, String apiPath, String apiMethod, Long costTime, Date createDate,
                           String userAgent, String userIp, String userToken, String userName,
                           String reqBody, String resBody){
        this.apiName = apiName;
        this.apiPath = apiPath;
        this.apiMethod = apiMethod;
        this.costTime = costTime;
        this.createDate = createDate;
        this.userAgent = userAgent;
        this.userIp = userIp;
        this.userToken = userToken;
        this.userName = userName;
        this.reqBody = reqBody;
        this.resBody = resBody;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public String getApiPath() {
        return apiPath;
    }

    public void setApiPath(String apiPath) {
        this.apiPath = apiPath;
    }

    public String getApiMethod() {
        return apiMethod;
    }

    public void setApiMethod(String apiMethod) {
        this.apiMethod = apiMethod;
    }

    public Long getCostTime() {
        return costTime;
    }

    public void setCostTime(Long costTime) {
        this.costTime = costTime;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getReqBody() {
        return reqBody;
    }

    public void setReqBody(String reqBody) {
        this.reqBody = reqBody;
    }

    public String getResBody() {
        return resBody;
    }

    public void setResBody(String resBody) {
        this.resBody = resBody;
    }
}
